package model

import (
	"time"
)

type AuSelfReceiveCar struct {
	SrcId          int       `xorm:"not null pk autoincr INT(11)"`
	CarId          int       `xorm:"not null INT(11)"`
	Sid            int       `xorm:"not null INT(11)"`
	OrderId        int       `xorm:"not null INT(11)"`
	DOrderId       int       `xorm:"INT(11)"`
	ReportType     int       `xorm:"default 0 TINYINT(1)"`
	EmpId          int       `xorm:"not null INT(11)"`
	EmpName        string    `xorm:"VARCHAR(50)"`
	Status         int       `xorm:"not null default 0 TINYINT(1)"`
	ReservePrice   float32   `xorm:"not null FLOAT(10,2)"`
	CompensateType int       `xorm:"not null TINYINT(1)"`
	BackMethod     int       `xorm:"not null TINYINT(1)"`
	Compensate     float32   `xorm:"not null FLOAT(10,2)"`
	TradePrice     float32   `xorm:"not null FLOAT(10,2)"`
	TransferFee    float32   `xorm:"not null FLOAT(10,2)"`
	DealerName     string    `xorm:"not null VARCHAR(50)"`
	DealerPhone    string    `xorm:"not null VARCHAR(20)"`
	TakeCarMan     string    `xorm:"not null VARCHAR(50)"`
	Remark         string    `xorm:"not null VARCHAR(255)"`
	Fid            int       `xorm:"not null default 0 INT(11)"`
	BankAccount    string    `xorm:"not null default '' VARCHAR(255)"`
	SelfType       int       `xorm:"not null default 0 TINYINT(1)"`
	IssueId        int       `xorm:"not null INT(11)"`
	Dealtime       time.Time `xorm:"not null DATETIME"`
	Createtime     time.Time `xorm:"not null DATETIME"`
}
